package com.study.common.web.rs;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.study.common.web.enums.RespCodeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author LiYongKui
 * @version 1.0
 * @date 2021/3/26 10:27
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Rs<T> implements Serializable {

    private RespCodeEnum code;

    private String msg;

    private T data;
}
